package cate.game.event.guild;

import cate.game.event.GameEventListener;
import cate.game.role.Role;

public class GuildMemberAddedEventListener implements GameEventListener<GuildMemberAddedEvent> {

    @Override
    public void onEvent(GuildMemberAddedEvent gameEvent) {
        Role role = gameEvent.getRole();
        role.getTrace().joinGuild();
        role.getRes().guild.treasureHouse.initSend();
    }
}
